Safe and efficient access control mechanisms for computing environments

ABSTRACT

Improved techniques for controlling access to accessible components of computing environments are disclosed. The techniques, among other things, can be used to provide Mandatory Access Control (MAC) mechanisms for mobile and embedded systems. One or more accessible components (e.g., accessible resources) which a component may attempt to access are determined so that one or more access permissions can be stored in a manner that they can be obtained if the component attempts to access the one or more accessible components, thereby allowing access to the one or more accessible components to be determined based on access permissions that are readily available. Generally, access permissions can be identified and stored in anticipation of need. Access permissions can be identified, for example, based on the likelihood of use, or all possible access permissions can be determined and stored. A safe (e.g., a trusted) access controlling (or monitoring) system (or component) can control access to resources of a computing environment. For example, a trusted access monitoring system can be provided in a secure and trusted operating environment utilizing Mandatory Access Control (MAC) capabilities of a secure operating system (e.g., SELinux Operating System).

BACKGROUND OF THE INVENTION

Conceptually, a computing system (e.g., a computing device, a personalcomputer, a laptop, a Smartphone, a mobile phone) can accept information(content or data) and manipulate it to obtain or determine a resultbased on a sequence of instructions (or a computer program) thateffectively describes how to process the information. Typically, theinformation used by a computing system is stored in a computer readablememory using a digital or binary form. More complex computing systemscan store content including the computer program itself. A computerprogram may be invariable and/or built into, for example, a computer (orcomputing) device as logic circuitry provided on microprocessors orcomputer chips. Today, general purpose computers can have both kinds ofprogramming. A computing system can also have a support system which,among other things, manages various resources (e.g., memory, peripheraldevices) and services (e.g., basic functions such as opening files) andallows the resources to be shared among multiple programs. One suchsupport system is generally known as an Operating System (OS) whichprovides programmers with an interface used to access these resourcesand services.

Today, numerous types of computing devices are available. Thesecomputing devices widely range with respect to size, cost, amount ofstorage and processing power. The computing devices that are availabletoday include: powerful and generally expensive servers, relativelycheaper Personal Computers (PC's) and laptops, and yet less expensivemicroprocessors (or computer chips) provided in storage devices,automobiles, household electronic appliances, etc.

In recent years, computing systems have become more portable and mobile.As a result, various mobile and handheld devices have been madeavailable. By way of example, wireless phones, media players, PersonalDigital Assistants (PDA's) are widely used today. Generally, a mobile ora handheld device (also known as handheld computer or simply handheld)can be a pocket-sized computing device, typically utilizing a smallvisual display screen for user output and a miniaturized keyboard foruser input. In the case of a Personal Digital Assistant (PDA), the inputand output can be combined into a touch-screen interface.

In particular, mobile communication devices (e.g., mobile phones) havebecome extremely popular. Some mobile communication devices (e.g.,Smartphones) offer computing environments that are similar to thatprovided by a Personal Computer (PC). As such, a Smartphone caneffectively provide a complete operating system as a standardizedinterface and platform for application developers. Given the popularityof mobile communication devices, telecommunication is discussed ingreater detail below.

Generally, telecommunication refers to assisted transmission of signalsover a distance for the purpose of communication. In earlier times, thismay have involved the use of smoke signals, drums, semaphore orheliograph. In modern times, telecommunication typically involves theuse of electronic transmitters such as telephone, television, radio orcomputer. Early inventors in the field of telecommunication includeAlexander Graham Bell, Guglielmo Marconi and John Logie Baird.Telecommunication is an important part of the world economy and thetelecommunication industry's revenue is placed at just under 3 percentof the gross world product.

Conventional telephones have been in use for many years. The firsttelephones had no network but were in private use, wired together inpairs. Users who wanted to talk to different people had as manytelephones as necessary for the purpose. Typically, a person who wishedto speak, whistled into the transmitter until the other party heard.Shortly thereafter, a bell was added for signaling, and then a switchhook, and telephones took advantage of the exchange principle alreadyemployed in telegraph networks. Each telephone was wired to a localtelephone exchange, and the exchanges were wired together with trunks.Networks were connected together in a hierarchical manner until theyspanned cities, countries, continents and oceans. This can be consideredthe beginning of the public switched telephone network (PSTN) though theterm was unknown for many decades.

Public switched telephone network (PSTN) is the network of the world'spublic circuit-switched telephone networks, in much the same way thatthe Internet is the network of the world's public IP-basedpacket-switched networks. Originally a network of fixed-line analogtelephone systems, the PSTN is now almost entirely digital, and nowincludes mobile as well as fixed telephones. The PSTN is largelygoverned by technical standards created by the ITU-T, and usesE.163/E.164 addresses (known more commonly as telephone numbers) foraddressing.

More recently, wireless networks have been developed. While the termwireless network may technically be used to refer to any type of networkthat is wireless, the term is often commonly used to refer to atelecommunications network whose interconnections between nodes isimplemented without the use of wires, such as a computer network (whichis a type of communications network). Wireless telecommunicationsnetworks can, for example, be implemented with some type of remoteinformation transmission system that uses electromagnetic waves, such asradio waves, for the carrier and this implementation usually takes placeat the physical level or “layer” of the network (e.g., the PhysicalLayer of the OSI Model). One type of wireless network is a WLAN orWireless Local Area Network. Similar to other wireless devices, it usesradio instead of wires to transmit data back and forth between computerson the same network. Wi-Fi is a commonly used wireless network incomputer systems which enable connection to the internet or othermachines that have Wi-Fi functionalities. Wi-Fi networks broadcast radiowaves that can be picked up by Wi-Fi receivers that are attached todifferent computers or mobile phones. Fixed wireless data is a type ofwireless data network that can be used to connect two or more buildingstogether in order to extend or share the network bandwidth withoutphysically wiring the buildings together. Wireless MAN is another typeof wireless network that connects several Wireless LANs.

Today, several mobile networks are in use. One example is the GlobalSystem for Mobile Communications (GSM) which is divided into three majorsystems which are the switching system, the base station system, and theoperation and support system (Global System for Mobile Communication(GSM)). A cell phone can connect to the base system station which thenconnects to the operation and support station; it can then connect tothe switching station where the call is transferred to where it needs togo (Global System for Mobile Communication (GSM)). This is used forcellular phones and common standard for a majority of cellularproviders. Personal Communications Service (PCS): PCS is a radio bandthat can be used by mobile phones in North America. Sprint happened tobe the first service to set up a PCS. Digital Advanced Mobile PhoneService (D-AMPS) is an upgraded version of AMPS but it may be phased outas the newer GSM networks are replacing the older system.

Yet another example is the General Packet Radio Service (GPRS) which isa Mobile Data Service available to users of Global System for MobileCommunications (GSM) and IS-136 mobile phones. GPRS data transfer istypically charged per kilobyte of transferred data, while datacommunication via traditional circuit switching is billed per minute ofconnection time, independent of whether the user has actuallytransferred data or has been in an idle state. GPRS can be used forservices such as Wireless Application Protocol (WAP) access, ShortMessage Service (SMS), Multimedia Messaging Service (MMS), and forInternet communication services such as email and World Wide Web access.2G cellular systems combined with GPRS is often described as “2.5G”,that is, a technology between the second (2G) and third (3G) generationsof mobile telephony. It provides moderate speed data transfer, by usingunused Time Division Multiple Access (TDMA) channels in, for example,the GSM system. Originally there was some thought to extend GPRS tocover other standards, but instead those networks are being converted touse the GSM standard, so that GSM is the only kind of network where GPRSis in use. GPRS is integrated into GSM Release 97 and newer releases. Itwas originally standardized by European Telecommunications StandardsInstitute (ETSI), but now by the 3rd Generation Partnership Project(3GPP). W-CDMA (Wideband Code Division Multiple Access) is a type of 3Gcellular network. W-CDMA is the higher speed transmission protocol usedin the Japanese FOMA system and in the UMTS system, a third generationfollow-on to the 2G GSM networks deployed worldwide. More technically,W-CDMA is a wideband spread-spectrum mobile air interface that utilizesthe direct sequence Code Division Multiple Access signaling method (orCDMA) to achieve higher speeds and support more users compared to theimplementation of time division multiplexing (TDMA) used by 2G GSMnetworks.

Generally, a mobile phone or cell phone can be a long-range, portableelectronic device used for mobile communication. In addition to thestandard voice function of a telephone, current mobile phones cansupport many additional services such as SMS for text messaging, email,packet switching for access to the Internet, and MMS for sending andreceiving photos and video. Most current mobile phones connect to acellular network of base stations (cell sites), which is in turninterconnected to the public switched telephone network (PSTN) (oneexception is satellite phones).

The Short Message Service (SMS), often called text messaging, is a meansof sending short messages to and from mobile phones. SMS was originallydefined as part of the GSM series of standards in 1985 as a means ofsending messages of up to 160 characters, to and from Global System forMobile communications (GSM) mobile handsets. Since then, support for theservice has expanded to include alternative mobile standards such asANSI CDMA networks and Digital AMPS, satellite and landline networks.Most SMS messages are mobile-to-mobile text messages, though thestandard supports other types of broadcast messaging as well. The termSMS is frequently used in a non-technical sense to refer to the textmessages themselves, particularly in non-English-speaking Europeancountries where the GSM system is well-established.

Multimedia Messaging Service (MMS) is a relatively more modern standardfor telephony messaging systems that allows sending messages thatinclude multimedia objects (images, audio, video, rich text) and notjust text as in Short Message Service (SMS). It can be deployed incellular networks along with other messaging systems like SMS, MobileInstant Messaging and Mobile E-mal. Its main standardization effort isdone by 3GPP, 3GPP2 and Ope Mobile Alliance (OMA).

The popularity of computing systems, especially mobile communicationdevices is evidenced by their ever increasing use in everyday life.Accordingly, techniques that can enhance computing systems and/or theiruse would be very useful.

SUMMARY OF THE INVENTION

Broadly speaking, the invention relates to computing systems. Moreparticularly, the invention relates to techniques for controlling accessto accessible components of computing environments. It will beappreciated that the techniques, among other things, can be used toprovide Mandatory Access Control (MAC) mechanisms for mobile andembedded systems.

In accordance with one aspect of the invention, one or more accessiblecomponents (e.g., accessible resources) which a component may attempt toaccess are determined so that one or more access permissions can bestored in a manner that they can be obtained if the component attemptsto access the one or more accessible components, thereby allowing accessto the one or more accessible components to be determined based onaccess permissions that have already been determined. In accordance withone embodiment of the invention, an access monitoring system can beoperable to: determine one or more accessible components that acomponent may attempt to access, obtain (e.g., determine) one or moreaccess permissions that effectively indicate whether the component isallowed or not allowed to access the one or more accessible components,and store the access permission(s) in a manner allowing access to theaccessible component(s) to be controlled based on the stored accesspermission(s). By way of example, access permissions for one or moreaccessible resources (or resources) that a first component (e.g.,application program) may access can be determined (e.g., calculatedbased on various rules, policies and/or other criteria) and stored inmemory before the first component becomes fully operational to actuallyattempt to access the one or more resources. It will be appreciated thathaving access permissions readily available can save processing time andwould allow providing mandatory access control mechanisms for mobile andembedded devices, as well as providing more sophisticated access controlmechanisms for more conventional environments such as desktop andserver-based computing environments.

In accordance with another aspect of the invention, access permissionscan be identified and stored in anticipation of their need. Accesspermissions can be identified, for example, based on the likelihood ofneed (e.g., likelihood that they may be needed). As such, factorsincluding the likelihood of a component accessing one or more accessiblecomponents, and the likelihood that one or more accessible componentsmay be accessed, can be considered to effectively make better decisionsabout which access permissions should be stored in anticipation of beingneeded. This likelihood can, for example, be determined based onobserved behavior (e.g., logged or historical data) and/or predictedbehavior (e.g., generalized profiles) with respect to, for example, anexecutable component (e.g., an application), a user (e.g., a person, anend-user application), and context of use (e.g., physical location,time).

In accordance with yet another aspect of the invention, all possibleaccess permissions can be determined and stored so that they can bereadily available and used as needed in order to determine whether toallow or deny a component access to an accessible component. It will beappreciated that determining all possible access permissions isespecially useful for mobile and embedded systems. Furthermore, thisapproach can be made even more feasible if access permission types arecategorized in accordance with entities that are most prevalent in acomputing environment (e.g., access types can be defined based onentities that are prevalent in mobile computing environments includingmanufacturers, network providers, service providers, and users).

Other aspects of the invention can effectively provide a safe (e.g., atrusted) access controlling (or monitoring) system (or component) tocontrol access to resources of a computing environment. For example, atrusted access monitoring system can be provided in a secure and trustedoperating environment which utilizes Mandatory Access Control (MAC)capabilities of a secure operating system (e.g., SELinux OperatingSystem) in accordance with one embodiment of the invention. As a trustedcomponent, the access monitoring system can perform and/or effectivelymanage various access controlling operations including, for example,determining access permissions based on trustworthiness (e.g., level oftrust) of an executable component and/or resource. In addition, thetrusted access monitoring system can be operable to effectively usevarious access profiles in order to make better decisions regardingwhich access permissions to store, if it is not feasible or desirable tostore all possible access permissions. It will be appreciated that atrusted access monitoring system can be provided to work with a SELinuxOperating System operating in a mobile computing device (e.g., a mobilephone, a Smartphone). Generally, it will be appreciated that one or moreaspects of the invention including those described above can becombined.

The invention can be implemented in numerous ways, including, forexample, a method, an apparatus, a computer readable medium, and acomputing system (e.g., a computing device). Several embodiments of theinvention are discussed below.

Other aspects and advantages of the invention will become apparent fromthe following detailed description, taken in conjunction with theaccompanying drawings, illustrating by way of example the principles ofthe invention.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will be readily understood by the followingdetailed description in conjunction with the accompanying drawings,wherein like reference numerals designate like structural elements, andin which:

FIG. 1A depicts a computing environment in accordance with oneembodiment of the invention.

FIG. 1B depicts a method for controlling access to one or moreaccessible components of a computing environment in accordance with oneembodiment of the invention.

FIG. 1C depicts a method for controlling access to one or moreaccessible components of a computing environment in accordance with oneembodiment of the invention.

FIG. 2A depicts a device in accordance with one embodiment of theinvention.

FIG. 2B depicts a method for protecting accessible resources of a devicein accordance with one embodiment of the invention.

FIG. 3A depicts a device in accordance with another embodiment of theinvention.

FIG. 3B depicts a method for protecting accessible resources of a devicein accordance with one embodiment of the invention.

FIG. 3C depicts a method for controlling access to accessible resources(or resources) of a device in accordance with one embodiment of theinvention.

FIG. 4 depicts a reference monitoring architecture compatible with thetechniques of the invention

FIG. 5 is a diagram illustrating an example of the security policy.

DETAILED DESCRIPTION OF THE INVENTION

As noted in the background section, computing devices and especiallymobile devices are becoming increasingly more popular. Today, wirelessnetworks and mobile communication devices (e.g., Smartphones, cellphones, Personal Digital Assistants) are especially popular.Unfortunately, however, partly because of this popularity, more and moremalicious attacks are being directed to wireless networks and mobilecommunication devices. In addition, recent developments, includingrelatively new services (e.g., email, file transfer and messaging) anduse of common software platforms (e.g., Symbian, Embedded Linux, andWindows CE operating systems) have made mobile communication devicesrelatively more exposed to malicious attacks. The exposure to maliciousattacks could become worse as the wireless networks and mobilecommunication devices continue to evolve rapidly. Today, wireless and/orportable communication devices (e.g., cell phones, Smartphones) canoffer similar functionality as that more traditionally offered byPersonal Computers (PCs). As a result, wireless and/or portablecommunication devices are likely to face similar security problems(e.g., worms, viruses) as those encountered in more traditionalcomputing environments.

Examples of the most notorious threats to cell phones include the Skull,Cabir, and Mabir worms which have targeted the Symbian operatingsystems. Generally, an MMS-based worm can start attacking initialtargets (hit-list) from the network. Each infected phone can scan itscontact list and randomly pick up members to deliver a malicious attackin the form of a message. A person can trust an incoming message due toits attractive title or seemingly familiar source and activate theattached file and unwittingly get a phone infected. The infected phonecan in turn get other phones infected, and so on. In contrast, aBlue-tooth based worm can take control of a victim phone's Blue-toothinterface and continuously scan for other Blue-tooth-enabled phoneswithin its range. Once a new target has been detected, the worm caneffectively connect to other devices and transfer a malicious message tothem, and so on.

Taking a cell phone as an example, an active cell phone typically hastwo security states: susceptible and infected. A susceptible cell phoneis not completely protected against worms and may get infected whenexposed to a specific worm (e.g., CommWarrior). An infected cell phonecan return back to the susceptible state when the user launches aprotection (e.g., the CommWarrior patch from F-Secure or Symantec)partly because the cell phone is susceptible to other worm threats.Malware has many other undesirable effects including compromising theprivacy of the users.

In addition, numerous applications and services are available fromdifferent entities and can be deployed on mobile devices. In otherwords, various entities including device vendors, network providers, andsoftware vendors can effectively provide computer code and support theoperation of a mobile device. As a result, providing a safe andmanageable mobile device requires addressing numerous new challenges notgenerally seen in more conventional computing systems (e.g.,conventional Personal Computers). To further add to this difficulty,future generations of mobile devices could be required to provide evenmore capabilities, and yet be safer and more manageable than the devicein existence today. These capabilities can, for example, include therequirements set forth by the Open Mobile Terminal Platform (OMTP) whichis a forum created by mobile network operators to discuss standards withmanufacturers of cell phones and other mobile devices. The requirementsset forth by the Open Mobile Terminal Platform (OMTP) are available fromthe OMTP organization and are hereby incorporated by reference hereinfor all purposes.

Generally, controlling access in order to protect various components isa major concern of most computing environments including mobilecomputing environments. Accordingly, improved techniques for controllingaccess would be useful. In particular, controlling access to accessiblecomponents (e.g., resources) of a mobile computing environment posesadditional challenges partly because of the limited processing operatingpower and/or memory typically available in comparison to moreconventional computing environments (e.g., desktop or server-basedcomputing environments). As such, techniques that may be feasible fordesktop or server-based computing environments may not be feasible formobile computing environments. By way of example, although MandatoryAccess Control (MAC) mechanisms have been more recently developed in anattempt to provide more secure operating environments (e.g., MACmechanism of Secure Linux—also known as “SELinux”), such capabilitieshave not been developed for mobile or embedded computing environments.In fact, conventional belief suggests that it is infeasible to provideMandatory Access Control (MAC) for mobile or embedded system partlybecause of their relatively limited processing power and/or memory.

In view of the foregoing, improved techniques for controlling access incomputing environments, especially mobile and/or embedded computingenvironments, would be useful.

Accordingly, the invention provides improved techniques for controllingaccess to accessible components of computing environments. It will beappreciated that the techniques, among other things, can be used toprovide Mandatory Access Control (MAC) mechanisms for mobile andembedded systems.

In accordance with one aspect of the invention, one or more accessiblecomponents (e.g., accessible resources) which a component may attempt toaccess are determined so that one or more access permissions can bestored in a manner that they can be obtained if the component attemptsto access the one or more accessible components, thereby allowing accessto the one or more accessible components to be determined based onaccess permissions that have already been determined. In accordance withone embodiment of the invention, an access monitoring system can beoperable to: determine one or more accessible components that acomponent may attempt to access, obtain (e.g., determine) one or moreaccess permissions that effectively indicate whether the component isallowed or not allowed to access the one or more accessible components,and store the access permission(s) in a manner allowing access to theaccessible component(s) to be controlled based on the stored accesspermission(s). By way of example, access permissions for one or moreaccessible resources (or resources) that a first component (e.g.,application program) may access can be determined (e.g., calculatedbased on various rules, policies and/or other criteria) and stored inmemory before the first component becomes fully operational to actuallyattempt to access the one or more resources. It will be appreciated thathaving access permissions readily available can save processing time andwould allow providing mandatory access control mechanisms for mobile andembedded devices, as well as providing more sophisticated access controlmechanisms for more conventional environments such as desktop andserver-based computing environments.

In accordance with another aspect of the invention, access permissionscan be identified and stored in anticipation of their need. Accesspermissions can be identified, for example, based on the likelihood ofneed (e.g., likelihood that they may be needed). As such, factorsincluding the likelihood of a component accessing one or more accessiblecomponents, and the likelihood that one or more accessible componentsmay be accessed, can be considered to effectively make better decisionsabout which access permissions should be stored in anticipation of beingneeded. This likelihood can, for example, be determined based onobserved behavior (e.g., logged or historical data) and/or predictedbehavior (e.g., generalized profiles) with respect to, for example, anexecutable component (e.g., an application), a user (e.g., a person, anend-user application), and context of use (e.g., physical location,time).

In accordance with yet another aspect of the invention, all possibleaccess permissions can be determined and stored so that they can bereadily available and used as needed in order to determine whether toallow or deny a component access to an accessible component. It will beappreciated that determining all possible access permissions isespecially useful for mobile and embedded systems. Furthermore, thisapproach can be made even more feasible if access permission types arecategorized in accordance with entities that are most prevalent in acomputing environment (e.g., access types can be defined based onentities that are prevalent in mobile computing environments includingmanufacturers, network providers, service providers, and users).

Other aspects of the invention can effectively provide a safe (e.g., atrusted) access controlling (or monitoring) system (or component) tocontrol access to resources of a computing environment. For example, atrusted access monitoring system can be provided in a secure and trustedoperating environment which utilizes Mandatory Access Control (MAC)capabilities of a secure operating system (e.g., SELinux OperatingSystem) in accordance with one embodiment of the invention. As a trustedcomponent, the access monitoring system can perform and/or effectivelymanage various access controlling operations including, for example,determining access permissions based on trustworthiness (e.g., level oftrust) of an executable component and/or resource. In addition, thetrusted access monitoring system can be operable to effectively usevarious access profiles in order to make better decisions regardingwhich access permissions to store, if it is not feasible or desirable tostore all possible access permissions. It will be appreciated that atrusted access monitoring system can be provided to work with a SELinuxOperating System operating in a mobile computing device (e.g., a mobilephone, a Smartphone). Generally, it will be appreciated that one or moreaspects of the invention including those described above can becombined.

Embodiments of these aspects of the invention are discussed below withreference to FIGS. 1A-5. However, those skilled in the art will readilyappreciate that the detailed description given herein with respect tothese figures is for explanatory purposes as the invention extendsbeyond these limited embodiments.

FIG. 1A depicts a computing environment 100 in accordance with oneembodiment of the invention. The computing environment 100 can, forexample, include and/or be provided for one or more computing systemsand/or devices (e.g., a general purpose computer, mobile device, mobilephone). Referring to FIG. 1A, an access monitoring system (or component)102 effectively controls access to accessible components 104 of thecomputing environment 100. In other words, the access monitoring system102 can be operable to effectively allow or deny access to a component106 when it attempts to access an accessible component 104. Typically,component 106 may attempt to access one or more of the accessiblecomponents 104 when it is operational (e.g., when the component 106 isbeing executed on a device as an executable component). Generally, thecomponent 106 can be any component of the computing environment 100which is operable to attempt to access and/or access an accessiblecomponent 104 of the computing environment 100. As such, the component106 can, for example, be an application program, a process, a thread, aclient application, a task, and a service. It will be appreciated thatthe component 106 can also be and/or represent a domain (and/or engine)provided in the context of a mobile computing environment, as will bedescribed in greater detail below. It should also be noted that thecomponent 106 can be and/or effectively represent a computingenvironment in itself which is in communication with and/or operatingwithin the computing environment 100. Generally, an accessible component104 can be any component which is accessible to at least one othercomponent associated with the computing environment 100. As such, anaccessible component 104 can, for example, be an accessible resource (orresource). Examples of a resource include: a shared resource, a file, asocket, an interfaces, a network connection, Inter-Process Communication(IPC) objects, message passing objects, synchronization objects, sharedmemory objects, and remote procedure calls (RPC) objects which aregenerally known in the art.

Those skilled in the art are also familiar with the general concept of a“reference monitoring” for effectively controlling access to variouscomponents of a computing environment. In the context of a “referencemonitoring” a component known as a “subject” can attempt to accessanother component known as a “object.” An “object” may be a “subject” inrelation to another “object” because a component can generally beaccessible by a second component and also capable of accessing a thirdcomponent (or the second component). It would also be appreciated thatthe access monitoring system 102 can effectively provide referencemonitoring capabilities. As such, an accessible component 104 can beconsidered as an “object” that may be accessed by the component 106which can represent a “subject” in the context of “referencemonitoring.”

In any case, the access monitoring system 102 can effectively controlaccess to the accessible components 104. More particularly, the accessmonitoring system 102 is operable to effectively determine that acomponent 106 may attempt (or is capable of attempting) to access one ormore accessible components 104. By way of example, the access monitoringsystem 102 can determine that a first component 106 may attempt toaccess three (3) accessible components, namely, accessible components104 a, 104 b and 104 c. The access monitoring system 102 can also beoperable to obtain access permissions for the particular accessiblecomponents 104 that the component 106 may access (104 a, 104 b and 104c). Generally, the access permissions can effectively indicate whether acomponent 106 is allowed or not allowed to access accessible components104 a, 104 b and 104 c.

Referring to FIG. 1A, access permissions 108 are obtained and stored bythe access monitoring system 102 as stored access permissions 108. Thestored access permissions 108 can, for example, indicate that the firstcomponent 106 is allowed to access first and third accessible components(104 a and 104 c) but not allowed to access a second accessiblecomponent (104 b). In any case, the stored access permissions 108 canallow the access monitoring system 102 to readily determine whetheraccess should be granted or denied to the component 106 if the component106 attempts and/or requests to access any one of the accessiblecomponents 104 a, 104 b and 104 c. This means that access permissionsneed not be determined when the components 106 attempts to access theaccessible components 104 a, 104 b and 104 c. Determining accesspermissions can require processing. This processing need not beperformed when access is actually attempted if the access permissionsare available and can be obtained.

Generally, the access monitoring system 102 can be operable to obtainaccess permissions. For example, the access monitoring system 102 can beoperable to determine (e.g., calculate) the access permissions 108and/or obtain them from another source (not shown). Moreover, the accessmonitoring system 102 can be operable to obtain and/or determine theaccess permissions 108 before an attempt to access has been made. By wayof example, the access monitoring system 102 can be operable todetermine which one of the accessible components 104 may be accessed bythe component 106 before the component 106 is fully operational foraccessing any of the accessible components 104. For example, when thecomponent 106 is an executable component operating on a device, it canbe determined which accessible components can be accessed by thecomponent 106 before the component 106 is initiated, loaded, lunchedand/or started on the device. The access monitoring system 102 can beoperable on a device where the component 106 is executing and/oraccessible components 104 are provided. However, generally, the accessmonitoring system 102 can be provided to effectively control access tovarious accessible components which may be accessed by one or more othercomponents.

It will be appreciated that the access monitoring system 102 can beoperable to determine all the accessible components (e.g., resources)104 that the component 106 can attempt to access and/or determine allpossible components (e.g., applications) that may be used generally orfor more specific situation. As such, the access monitoring system 102can also be operable to obtain and/or determine all the necessary accesspermissions for determining whether to allow or deny access to anycomponent that may be present in the computing environment 100 withrespect to accessing any of the accessible resources of the computingenvironment 100. It will be appreciated that it is feasible to determineall access possibilities and/or access permissions in mobile computingenvironments where the number of components and accessible resources aretypically relatively less than that which is prevalent in moreconventional environments (e.g., server-based computing environmentswhere typically numerous process associated with several applicationscan attempt to access numerous accessible resources).

It should be noted that the access monitoring system 102 can be operableto effectively make decisions regarding which access permission shouldbe determined and/or stored as stored access permissions 108. Forexample, rather than determining all possibilities of accesspermissions, the access monitoring system 102 can be operable to use oneor more criteria in order to determine which accessible components 104are likely to be accessed by the component 106. By way of example, theaccess monitoring system 102 can determine that the component 106 islikely to access the accessible components 104 a, 104 b and 104 c, andsubsequently proceed to obtain (e.g., determine, load) the accesspermissions that effectively indicate whether to grant or deny access tocomponent 106 if and when it attempts to access any one of theaccessible components 104 a, 104 b and 104 c. The determination of whichone or more of the accessible components 104 are likely to be accessedby the component 106 can, for example, be made by identifying one ormore accessible components 104 that the component 106 has accessedand/or has attempted to access.

As another example, a profile can be obtained that effectivelyidentifies one or more accessible components that are likely to beaccessed by the component 106. A profile can, for example, be generatedbased on historical use of component 106 and/or use of accessiblecomponents 104 by a user (e.g., a person). As yet another example,contextual information (e.g., physical location, time of the day) whicheffectively represents a situation can be used to identify one or moreaccessible components 104 which are likely to be accessed by thecomponent 106.

It will also be appreciated that the access monitoring system 102 can befurther operable to define and/or update access profiles which can beused to effectively access the likelihood of use of accessible resources104 by the component 106. More generally, the access monitoring system102 can be operable to effectively identify one or more components (106,110 and 112) and/or accessible components 104 that are likely to be usedin the computing environment 100. By way of example, at a given time,the access monitoring system 102 can determine that components 106 and110 are likely to be used but a component 112 is not likely to be usedin the computing environment 100. In addition, the access monitoring 102can determine that the component 106 is likely to access (or try toaccess) accessible components 104 a, 104 b and 104 c, and so on.

Referring to FIG. 1A, it should be noted that accessible components 104can serve many functions. For example, an accessible component 104 b canrepresent a communication port allowing communication with an externalentity 114 (e.g., a network, a server). An accessible component 104 ccan effectively allow the component 106 to communicate with thecomponent 110, an accessible component 104 d can represent a resourceand/or subcomponent of the component 106, and so on.

FIG. 1B depicts a method 150 for controlling access to one or moreaccessible components of a computing environment in accordance with oneembodiment of the invention. Method 150 can, for example, be performedby the access monitoring system 102 in order to control access to theaccessible components 104 of the computing environment 100 (shown inFIG. 1A). Referring to FIG. 1B, one or more accessible components that acomponent may attempt to access are determined (152). Next, one or moreaccess permissions for the one or more accessible components aredetermined (154). It should be noted that the one or more accesspermissions effectively indicate whether the component is allowed or notallowed to access the one or more accessible components. As such, theone or more access permissions can be effectively used to determinewhether to grant or deny the component access to the one or moreaccessible components. After the one or more access permissions aredetermined (154), the one or more access permissions are stored (156) ina manner that they can be obtained if the component attempts to accessthe one or more accessible components, thereby allowing access to theone or more accessible components to be controlled based on the storedaccess permissions which are readily available if the component attemptsto access the one or more accessible components.

FIG. 1C depicts a method 175 for controlling access to one or moreaccessible components of a computing environment in accordance with oneembodiment of the invention. Method 175 can, for example, be used by theaccess monitoring 102 to control access to the accessible components 104in the computing environment 100 (shown in FIG. 1A). Referring to FIG.1C, initially, it is determined (176) whether a component is attemptingto access a protected accessible component. In effect, the method 175can wait for a component of the computing environment to attempt toaccess a protected accessible component. If it is determined (176) thata component is attempting to access a protected accessible component, itis determined (178) whether one or more accessible permissions which canbe used to control access are stored. In other words, it can bedetermined (178) whether one or more access permissions which caneffectively indicate whether to allow or deny the component access tothe one or more accessible components have been stored and as such,readily available. As such, if it is determined (178) that the one ormore accessible permissions pertaining to the component and theprotected accessible components have been stored, the accesspermission(s) can be obtained (179) and access can be allowed or denied(180) in accordance with the stored access permission(s). Thereafter,the method 175 can proceed to determine (176) whether a component isattempting to access a protected accessible component in a similarmanner as described above. On the other hand, if it is determined (178)that the one or more access permissions have not been stored, the one ormore access permissions are determined (182) and access can be allowedor denied accordingly. Thereafter, it can be determined (184) whether tostore the access permissions and the access permissions can be storedaccordingly (186) before the method 175 proceeds to determine (176)whether a component is attempting to access a protected accessiblecomponent. Those skilled in the art will readily appreciate that thedetermination of whether to store the determined access permissions(184) can represent a design choice, an option and/or can be made basedon various criteria (e.g., availability of memory).

As noted above, the access monitoring system 102 (shown in FIG. 1A) canbe effectively provided for a device in order to control access to theaccessible components (e.g., resources) of that device. It will also beappreciated that the access monitoring system 102 can be provided as asafe component (e.g., a trusted component). As such, the accessmonitoring system 102 can be provided as a safe access monitoring systemto control access to the resources of a device.

To further elaborate, FIG. 2A depicts a device 200 in accordance withone embodiment of the invention. Referring to FIG. 2A, the safe accessmonitoring system 202 is effectively provided for controlling access toaccessible components (not shown) of the device 200. Generally, thesafety of computer program code for an access monitoring component 204 acan be verified before allowing it to be initiated on the device 200 asthe safe access monitoring component 202 b. By way of example, theintegrity of the computer program code 204 a can be verified beforeallowing it to be initiated as a trusted access monitoring managementcomponent 204 b. Similarly, the safety of various other components ofthe safe access monitoring system 202 can be verified before allowingthem to be initiated as a safe component (e.g., a trusted component).Referring to FIG. 2A, the safety of various other components includingstored access permission (or rights) 206 a 1 and access profiles 206 a 2can also be verified before allowing them to be initiated as the safemonitoring database 206 b. It will be appreciated that the accessprofiles 206 a 2 can, for example, be provided as a database componentto store various profiles including, for example, application-based,user-based, and context-based profiles. For example, anapplication-based include one or more profiles for one or moreapplication programs and provide information with respect to theresources that have been accessed and/or likely to be accessed by theone or more application programs. An application-based profile can, forexample, be provided for one or more application programs that have beenand/or are likely to be executed on the device 200. Generally, the safemonitoring database 206 b can store data pertaining and/or relating toaccess permissions and can be used by the safe access monitoringmanagement component 204 b to readily determine whether to grant or denycomponents 208 access to one or more of the accessible resources of thedevice 200. The safe monitoring database 206 b can also be used todetermine the access permissions.

It will be appreciated that the safety of the access monitoringcomponent 204 b and/or access monitoring database 206 b can be verifiedby a first safety component 210 based on safety values (SV) 212. Thefirst safety component 210 can operate in a highly secure area of thedevice 200. Also, the safety values (SV) 212 can be safely secured in ahighly secure area (e.g., secured in hardware). By way of example, thefirst safety component 210 can be a Trusted Platform Module (TPM)operating in the hardware of the device 200 and securely stores thesafety values (SC) 212 as integrity values for the computer program code204, 206 and/or other components which can effectively serve as a secondtrusted component (e.g., a boot loader) and verify the safety of theaccess monitoring system 202 and/or yet other components.

It should be noted that the safe access monitoring system 202 can beoperable to determine access permissions for various components 208based on their safety or assessed safety. A component 208 can begenerally known as “safe component” or as a component not known orbelieved to be safe (“unsafe component”). It is also possible toeffectively assign various safety levels or scales to components 208.Similarly, the accessible resources of the device 200 may be assignedvarious safety levels and/or a general or specific level of safety. Thesafe access monitoring system 202 can also be operable to effectivelyverify the safety of various accessible resources before allowing themto be accessed especially by another safe component.

In any case, the safe access monitoring system 202 can be operable toeffectively determine access permissions of the components 208,including their subcomponents, based on their safety and/or safetyrequirements. In other words, whether a particular component 208 (or itssubcomponents) can access an accessible component can be determinedbased on the general and/or specific safety (or safety requirements) ofthe component 208 and/or the accessible resource.

As noted above, an access monitoring system can be operable to identifyone or more executable components that may be executed on a deviceand/or one or more accessible resources that one or more executablecomponents may try to access. As such, it will be appreciated that thesafe access monitoring system 202 can be operable to determine which oneor more components 208 are likely to be used on the device 200 and/ordetermine which one or more accessible resources the one or morecomponents may try to access.

Furthermore, it will be appreciated that access permissions can bedetermined based on a type or category associated with the components206 (“access type”). In a mobile computing environment, components 208can present a domain or an engine associated with an entity (e.g., astakeholder). These entities that are more prevalent in a mobilecomputing environment include: device manufacturers, network providers,service providers, and users (or end-users). It will be appreciated thatthe safe access monitoring system 202 can determine access permissionsfor the domains and/or engines for such entities, and store the accesspermissions so that they may be readily available. In addition, accesspermissions and profiles can be organized for the domains and/or enginesprevalent in a mobile computing environment. Generally, accesspermissions can be determined for a mobile environment based on a numberof access types significantly less than the number prevalent in thedesktop computing environments. As such, the safe access monitoringsystem 202 is especially useful for mobile computing environments where,for example, the device 200 is provided as a mobile device (e.g., amobile phone).

It will also be appreciated that the components 208 can be effectivelyisolated from each, for example, in accordance with the techniquesdescribed in U.S. patent application Ser. No. 11/963,363 which is herebyincorporated by reference herein in its entirety and for all purposes.Referring to FIG. 2A, a secure interface 212 can be effectively providedto allow safe interaction between the safe access monitoring system 202and then components 208. The secure interface 212 can effectively beprovided by a secure operating system (e.g., SELinux Operating System),as described in greater detail below.

FIG. 2B depicts a method 250 for protecting accessible resources of adevice in accordance with one embodiment of the invention. Method 250can, for example, be performed by the device 200 depicted in FIG. 2A.Referring to FIG. 2B, initially, it is determined (252) whether anaccess monitoring component is safe. By way of example, the integrity ofcomputing code for an access monitoring component can be verified beforeallowing the access monitoring component to be initiated as a safecomponent (e.g., a trusted component for the device). As such, if it isdetermined (252) that the access monitoring component is not safe,remedial actions can be taken (254) and the method 250 can end. By wayof example, the device can be shut down or locked and/or an errormessage may be generated as remedial action.

On the other hand, if it is determined (252) that the access monitoringcomponent is safe, the access monitoring component is initiated as asafe access monitoring component for the device. It should be noted thatthe determining (252) whether the access monitoring component is safecan be performed before allowing the accessible resources of the deviceto be accessed. Generally, the safe access monitoring component can beoperable to protect the accessible resources of the device as a safecomponent (e.g., a trusted component). After the safe access monitoringcomponent is initiated (256), one or more executable components that maybe executed on the device are identified (258). Next, one or moreaccessible resources that the executable components may try to accessare identified (260). Thereafter, it is determined (262) whether the oneor more executable components and/or the one or more accessibleresources are safe (262). In other words, the safety of one or moreexecutable components and/or accessible resources can be effectivelyassessed (262). Assessing safety can be based on general safety orspecific safety levels. By way of example, it can be determined (262)whether an executable component and/or the accessible component it mayaccess are safe or whether a particular safety level is met (e.g.,safety level 1, safety level 2, safety level 3, and so on). Moregenerally, the safety (e.g., trustworthiness) of an executable componentand/or accessible resource can be effectively assessed (262).Accordingly, one or more access permissions can be determined (264)based on the assessed safety (e.g., trustworthiness) of the one or moreexecutable components and/or accessible resources. It should be notedthat the one or more access permissions can effectively indicate whetherthe one or more executable components should be allowed or denied accessto the one or more accessible resources (264). The one or more accesspermissions are stored (266) for use by the safe access monitoringcomponents in order to effectively protect the accessible resources. Itshould be noted that the one or more access permissions can be stored ina secured manner such that, for example, they can only be accessed bythe safe access monitoring component or with its permission. The method250 ends after the one or more access permissions are stored (266).

As noted above, a safety access monitoring system can, for example, beprovided as a trusted component. To further elaborate, FIG. 3A depicts adevice 300 in accordance with another embodiment of the invention. Itwill be appreciated that the device 300 can effectively provide atrusted access monitoring system 302 for controlling access to theaccessible resources of the device 300. Referring to FIG. 3A, a CoreRoot of Trust (CRT) 304 includes a Trusted Platform Module (TPM) 306provided as hardware for a hardware layer 308 of the device 300. Thoseskilled in the art will appreciate that the Trusted Platform Module(TPM) 306 can effectively verify the integrity of one or more operatingsystem components 310, including a boot loader 310 a, a BasicInput/Output System (BIOS) before allowing them to be initiated on thedevice 300. As a part of the Core Root of Trust (CRT) 304, the TrustedPlatform Module (TPM) 306 can be initiated before the operating systemfor the device 300 is initiated or effectively started on the device 300The TPM 306 can verify the integrity of the operating system components310 before allowing them to be initiated on the device 300.

The Trusted Platform Module (TPM) 306 and/or one or more of theoperating system components 310 can in turn verify the integrity of thetrusted access monitoring system 302. In particular, the integrity ofcomputer program code for one or more components of the trusted accessmonitoring system 302, namely, a trusted access monitoring manager 302a, a secure storage 302 b and/or profile database 302 c can be verified.By way of example, after the Trusted Platform Module (TPM) 306successfully verifies the integrity of the boot loader 310, the bootloader 310 can verify the integrity of the computer program code forthat trusted access monitoring manager 302 a, a secure storage 302 band/or profile database 302 c before allowing them to be initiated onthe device 300.

Referring to FIG. 3A, a trusted access monitoring system 302 can beprovided in a secure operating system space (e.g., kernel space). Itwill be also appreciated that the operating system can be a secureoperating system. As such, the trusted access monitoring system 302 caneffectively interface with a secure operating system (e.g., a SELinuxOperating System) in accordance with the invention. Referring back toFIG. 3A, those skilled in the art will appreciate that operating system“hooks” 311 of the operating system which are generally secured in thesecure space can effectively detect that an application program 312executing on the device 300 is attempting to access an accessibleresource by calling a system call 314. In particular, in case of secureoperating system that provides Mandatory Access Control (MAC), such as,for example, SELinux Operating System, the secure operating system hooks311 can be provided as a MAC mechanism for the device 300. In otherwords, an access checking functionality provided by a secure operatingsystem can be used to detect an attempt to access resource when a systemcall 314 is made. Those skilled in the art would appreciate that thesecure operating system “hooks” 311 can, for example, be provided asrelatively simple computer program code that modifies standard systemcalls and/or somehow interfaces with them. As another example, when aSELinux Operating System is used, the operating system “hooks” 311 canbe provided as Linux Security Modules (LSM) inside the kernel in orderto use the Mandatory Access Control (MAC) mechanism provided by theSELinux Operating System. As generally known in the art, Linux SecurityModules (LSM) can provide a framework that allows the Linux kernel tosupport a variety of computer security models while avoiding favoritismor reliance on any specific security implementation.

In any case, the secure operating system “hooks” 311 can effectivelycommunicate with the trusted access monitoring manager 302A. Moreparticularly, the secure operating system “hooks” 311 can effectivelyrequest that the trusted monitoring manager 302 a determine whetheraccess to an accessible resource should be granted or denied when thesecure operating system “hooks” 311 detect that an application program312 is attempting to access an accessible resource. By way of example,the application program 312 can make (or effectively invoke) a systemcall (e.g., open or socket system call for opening: a file, directory,device or a communication mechanism) in order to perform an accessoperation (e.g., read, write, execute, communicate). As a result of thesystem call, a secure operating system hook 311 associated with thesystem call can be effectively invoked. Moreover, the invoked secureoperating system hook 311 can effectively solicit the trusted accessmonitoring manager 302 a for an indication of whether to grant or denythe system call (i.e., grant or deny access to a resource which thesystem call is attempting to access).

Generally, the trusted access monitoring manager 302 a can be operableto determine whether access to an accessible resource should be grantedor denied based on one or more access permissions stored in a securestorage 302 b, thereby allowing access to a system call to be granted ordenied based on data which has been already determined and readilyavailable from the secure storage 302 b. As shown in FIG. 3A, a trustedaccess monitoring manager 302 a can also access a profile database 302c. It will be appreciated that the profile database 302 c can storevarious profiles including application-based (302 c 1), user-based (302c 2), and context-based profiles (302 c 3). The application-based (302 c1) can, for example, include one or more profiles for one or moreapplication programs, and as such, can, for example, provide informationwith respect to the resources that have been accessed and/or likely tobe accessed by the one or more application programs. The one or moreapplication-based profiles (302 c 1) can, for example, be provided forone or more application programs that have been and/or are likely to beexecuted on the device 300.

Similarly, the user-based profiles 302 c 2 can, for example, include oneor more user profiles for one or more users of the device 300, and assuch, provide information with respect to resources that have been orare likely to be accessed by the one or more users of the device 300.The one or more context-based profiles 302 c 3 can, for example, provideinformation with respect to the resources that have been or are likelyto be accessed in various situations. As such, a context-based profilecan, for example, be provided as a “home profile” for situations wherethe device 300 operates in a “home” environment (e.g., when the deviceis being operated at home) as opposed to an “office” environment (e.g.,where a device is operated at work), and so on. The “home profile” cangenerally identify one or more applications and/or resources that havebeen accessed or are likely to be accessed differently when the deviceis operating in the home environment. Various other context-basedprofiles 302 c 3 can be provided for other situations in a similarmanner.

It will be appreciated that the profiles stored in the database 302 ccan be used in various ways to yield many benefits. For example, theseprofiles can be used to determine which access permissions are likely tobe needed so they can be loaded into the secure storage 302 b. As such,it is possible to, for example, use an application profile 302 c inorder to load access permissions for the application program 312 whenthe application 312 is loaded for execution on the device 300.

As shown in FIG. 3A, profile management and monitoring services 324 canbe effectively provided by the device 300 in order to manage and/ormonitor the database 302 c. It should be noted that it is possible toupdate the profiles stored in the database 302 c. Moreover, a profilecan be updated based on historical data representative of behaviorassociated with, for example, one or more users and/or applications inorder to make even better decisions with respect to identifying accesspermissions (e.g., identifying access permissions that are most likelyto be needed by a user or an application. By way of example, a userprofile (or user-based profile) 302 c 2 can be updated as moreinformation is learned with respect to the user's behavior and/orchanged as a result of observing changes in the behavior of the user.

It should also be noted that the access permissions can be determinedand stored in profiles in the database 303 c. By way of example, accesspermissions for various applications, domains and/or engines can beeffectively predetermined (e.g., pre-calculated) by an external sourceand provided to the device 300. In the mobile computing environments, anentity (e.g., a service provider) can, for example, define and provideaccess permissions to its various components including its data andservices. As such, a profile for an entity may be loaded into the securestorage 302 b as needed.

Generally, operations associated with determining access permissionsincluding loading, processing and updating profiles stored in theprofile database 302 c, as well as processing needed to determine accesspermissions, can be performed when desired, for example when power andprocessing time is available (e.g., at idle times and/or when theprocessing demands of the device 300 are below a threshold).

As noted above, determination of an access right may also includeverifying the integrity of various executable components (e.g., theapplication program 312) and/or resources of the device 300. Referringto FIG. 3A, integrity measurement service 322 may also be provided bythe trusted access monitoring system 302. Generally, integrityverification services 320 can be provided by the device 300. Theintegrity verification services 320 may be in communication with anexternal entity (e.g. a trusted verification server) (not shown). Thetrusted access monitoring manager 302 a may be operable to communicatewith the integrity verification services directly and/or via theintegrity measurement service 322.

It is relatively easier to calculate all the possible access permissionsfor some computing environments (e.g., mobile and embedded computingenvironments) as the possibilities are relatively limited in comparisonto other computing environments (e.g., server-based computingenvironments). As such, it is more feasible to calculate all possibleaccess permissions for the device 300 when relatively fewer processescan concurrently run on the device 300. In case of a mobile device(e.g., a mobile and/or smart phone) typically fifteen to twenty (15-20)processes may run concurrently, including various operating systemmodules, services, and daemons, as will be known to those skilled in theart. The number of possibilities can be further reduced if a mobilecomputing environment uses a reference monitoring architecture thatrecognizes or is defined based on the entities typically encountered ina mobile computing environment. Those entities can be effectivelyrepresented by corresponding domains (or engines) including amanufacturer, network provider, service provider, and a user domain (orengine). In other words, the number of access types can be reduced bydefining them based on the domains (or engines) representation ofentities generally encountered in a mobile computing environment. As aresult, number of possible access permissions can be significantlyreduced making it more feasible for the trusted access monitoringmanager 302 a to effectively determine all the possible accesspermissions that the device 300 may encounter.

The trusted access monitoring manager 302 a may also be operable toaccess a system log (not shown) in order to make decisions regardingwhich access permissions to be determined and/or stored in the securestorage 302 b which can effectively serve as a cache and/or include acache portion for allowing even faster access to access permissions. Itwill be appreciated that the trusted access monitoring manager 302 a caneffectively serve as a security server to provide access monitoring (orreference monitoring) services for the device 300. Generally, thetrusted access monitoring manager 302 a can serve as a reference monitorand/or provide reference monitoring capabilities. A reference monitoringarchitecture compatible with the access monitoring manager 302 a isdescribed below.

Referring now to FIG. 3B, a method for protecting accessible resourcesof a device is depicted in accordance with one embodiment of theinvention. Initially, it is determined (352) whether the device is to bestarted. If it is determined (352) that the device is to be started, afirst trusted component (e.g., a Trusted Platform Module) is initiated(354) to verify the integrity of an operating environment beforeallowing the operating environment to be initiated for the device. Theoperating environment can be provided as a secure operating system(e.g., a SELinux operating system) for a trusted access monitoringcomponent which is operable to protect the accessible resources (orresources) of the device. The first trusted component can verify theintegrity of the operating environment to effectively determine (356)whether the operating system can be trusted before it is initiated (360)as a trusted secure operating system on the device. If the first trustedcomponent cannot successfully verify the integrity of the operatingenvironment, remedial action can be taken (358), and the method 350 canend. By way of example, the device may not be allowed to start and/or anerror message can be generated. However, if the first trusted componentsuccessfully verifies the integrity of the operating environment, theoperating environment can be initiated as a trusted secure computingenvironment that can effectively support a trusted access monitoringcomponent. However, before initiating an access monitoring component asa trusted access monitoring component (366), the integrity of the accessmonitoring component is verified (362). The integrity of the accessmonitoring component can, for example, be verified by the first trustedcomponent and/or a second trusted component which its own integrity hasbeen verified (e.g., a trusted boot loader can verify the integrity ofthe computer program code for a access monitoring component beforeallowing it to be initiated). In any case, if it determined (364) thatthe integrity of the access monitoring component is not successfullyverified, remedial action can be taken (358) and the method 350 ends. Onthe other hand, if it is determined (364) that the integrity of theaccess monitoring component is successfully verified, the accessmonitoring component can be initiated as a trusted reference monitoringcomponent in the trusted secure operating environment in order toprotect the accessible resources of the device. It will be appreciatedthat the trusted reference monitoring component can be operable tocontrol access to the accessible resources of the device.

To further elaborate, FIG. 3C depicts a method 370 for controllingaccess to accessible resources (or resources) of a device in accordancewith one embodiment of the invention. The method 370 can, for example,be performed by a trusted reference monitoring component initiated in asecure operating environment in order to protect the accessibleresources of the device in accordance with the embodiment depicted inFIG. 3A. Referring to FIG. 3B, initially, it is determined (372) whetherto store one or more access permissions in memory. Generally, one ormore access permissions can be stored as a first set of accesspermissions, be added to and/or replace access permissions alreadystored in memory. If it is determined (372) to store one or more accesspermissions, it is determined (374) whether to consider one or morespecific categories (e.g., profiles). A specific category can, forexample, represent an application, user, or a context profile thateffectively identifies various components and/or the resources that theone or more components may attempt to access. As such, identifying (376)a specific category can result in identifying one or more accesspermissions that can be obtained (376). Those skilled in the art willreadily appreciate that determining (376) of whether to consider aspecific category of components and/or resources that may operate on thedevice can represent a design choice and/or a decision made based on oneor more criteria (e.g., the current situation of the device, theapplications currently loaded, history of components used). In any case,determining (372) whether to store one or more access permissions inmemory, can generally result (378) in storing one on more accesspermissions regardless of whether a specific category is considered andidentified (374 and 376) to effectively identify specific accesspermissions or alternative techniques are used to identify one or moreaccess permissions to be stored (e.g., all of the possible accesspermissions are identified, a subset of all possible access permissionsare stored, for example, based on the amount of memory available and/orother system variables including timing and performance requirements ofthe system).

Generally, if it is determined (372) to store access permissions inmemory, one or more access permissions can be obtained (378) (e.g.,determined, identified, selected, downloaded from a second storage,received from a trusted server). Thereafter, it is determined (380)whether an attempt to access a protected resource is being or has beenmade. In effect, the method 370 can wait for an attempt to access aprotected resource to be made or end if it determined (382) to end themethod 370, for example, as a result of a time out, or shutting down thecontrol access mechanism for the device, and/or shutting down the deviceitself.

If it is determined (380) that an attempt to access a protected resourceis being or has been made, one or more accessible permissions associatedwith the protected resource are obtained (384) from memory. The one ormore accessible permissions effectively indicate whether to grant ordeny access to the protected resource. As such, based on the one or moreaccess permissions, it is determined (386) whether to grant or denyaccess to the protect resource, and access can be allowed and/oreffectively caused to be granted (388) or denied and/or caused to bedenied (390) accordingly. Thereafter, the method 370 can proceed todetermine (380) whether an attempt is being or has been made to access aprotected resource of the device in a similar manner as discussed above.The method 370 ends if it is determined (382) to effectively endcontrolling access to protected resources of the device.

As noted above, the trusted access monitoring manager 302 a (shown inFIG. 3A) can serve as a reference monitor in accordance with oneembodiment of the invention. To further elaborate, FIG. 4 depicts areference monitoring architecture compatible with the techniques of theinvention as will be known to those skilled in the art. Those skilled inthe art will readily appreciate that various access control or referencemonitoring techniques can be utilized in accordance with the inventionas no specific assumptions need to be made regarding the architecture ofthe access control or reference monitoring utilized to make or use theinvention. Secure operating system (e.g., SELinux Operating System) canoffer additional advantages. In particular, the invention is especiallywell suited for SELinux Operating System because of the Mandatory AccessControl (MAC) mechanism that it can provide. As such, the referencemonitoring mechanisms of SELinux Operating System is described ingreater detail below.

SELinux can associate “labels” of the form “user:role:type” to all“subjects” (e.g., processes) and “objects” (e.g., files, directories,programs, sockets). This “labeling” can be referred to as a “securitycontext”. Within the security context, the “type” attribute canrepresent the type of an “subject” and/or an “object” (e.g., sshd_t andsyslogd_t, as generally known in the art). Instead of directlyassociating a user with a type, SELinux can associate a user with a“role” and a “role” with a set of types. The “role” can effectivelysimplify the management of various users supported by the SELinuxOperating System. This means that access control in SELinux can beprimarily enforced via a “Type-Enforcement” policy model, as isgenerally known in the art. A typical policy rule in SELinux can, forexample, allow a particular type of subject to have a set of accesspermissions (or permissions) with respect with one or more other typesof objects. By way of example, access permissions can be definedaccording to: object classes (e.g., file: {read, write}, append, lock,and netif: {tcp send,tcp recv}). As a simple example, the followingrules can define two types: “qtmail_t and qtaddressbook_t” within amobile device (e.g., a cell phone):

any subject of qtmail_t can have all permissions to any object of typeqtaddressbook_t;

any subject of user_t only has the permission of getattr (e.g., can viewthe file with only with a listing (or “Is”) command

It should be noted that without defining additional access policy rules,“qtaddressbook_t” can be read and written by “qtmail_t subjects” (i.e.,only processes with type “qtmail_t” (e.g., a normal email messagingprocess named “qtmail”) are allowed to have full permissions on theresource of an address book (shown below).

type qtmail_t; type qtaddressbook_t; allow qtmail_t qtaddressbook_t:file*; allow user_t qtaddressbook_t:file getattr;

In this way, an access control decision can be made based on the typesof subjects and objects and the requested access operation.

To enhance the performance of a reference monitor, a SELinux OperatingSystem can use a cache to effectively store the latest decisions maderegarding access permissions. However, partly due the large number ofthe types of subjects and objects, conventional SELinux systemsoperating on a typical Personal Computer (PC) or server-based platformsmay have significant performance overhead. For example, the NSA SELinuxexample policy can have about 583 types, 55 classes, hundreds ofpossible operations, and over 10,000 policy rules. Due to large numberof policy rules that need to be considered for numerous processes thatcan run concurrently, caching alone as limited benefits with respect toenhancing the performance.

However, on mobile and embedded devices, the number of processes thatrun concurrently is less that the typical Personal Computer (PC) orserver-based platforms. For example, on a Motorola A1200 Linux-basedSmartphone, typically a maximum of fifteen to twenty (15-20) distinctprocesses, including kernel modules, system services and daemons areconcurrently executed (or run). In addition, access types may be definedbased on the entities typically encountered in mobile and embeddeddevices. For example, consist with the architecture defined by TrustedComputing Group, a mobile phone reference monitoring (or access control)architecture can include domains (or engines) typically associated withentities (e.g., stakeholders) prevalent in a mobile computingenvironment. For example, only (4) domains (or engines) may be need fora mobile phone environment, namely, a manufacturer, a network provider,a service provider, and a user domain (or engine). As such, it will beappreciated that the techniques of the invention are especially suitablefor mobile communication devices (e.g., mobile phones, Smartphone)because the benefits of the invention can be more readily realized.

It will also be appreciated that various domains (or engines) providedfor various entities can be isolated from each other in a SELinuxoperating environment, as described in more detail in U.S. patentapplication Ser. No. 11/963,363. In particular, SELinux Operating Systemcan be used to provide isolation between domains (or engines) such thatan engine cannot directly access the resources of another engine—theycan only communicate through dedicated and non-bypassable interfaces. Anengine may have private trusted resources and normal resources, and canreceive inputs from and provide outputs to other engines. In order topreserve strong isolations, two engines can only communicate throughshared resources (i.e., interfaces). Consistent with Mobile PhoneReference Architecture developed by the Trusted Computing Group(TCG)—also known as TCG-MPRA, an “engine” can effectively generalize theconcept of a “platform.”

FIG. 5 is a diagram illustrating an example of the security policy. Inthis policy, a generic engine e₁ is represented as a domain 500, whichhas its private trusted resources (TR₁ 502) and normal resources (NR₁504). Internal trusted services can be accessed by the normal services,which is indicated by the sub-domain D₁₂ 506 of e₁ 500. Typicalfunctions provided by trusted services to normal services includeintegrity measurement, secure storage, and monotonic counters. Theinformation flow between these services can be one-way. Each engine mayconsume services provided by other engines and provide services toothers. Both can have trusted resources and/or normal resources. Thesecommunications are represented by shared resources between e₁ and otherengine domains. Specifically, domain e₁ 500 can get trusted resourcesTS₁ 508 from domain e₀₁ 510 and provide other trusted resources TS₀ 512to domain e₂ 514. Similarly, e₁ 500 can consume normal resources NS₁ 516from domain e₀₂ 518 and provide normal resources NS₀ 520 to domain e₂514. The one-way information flow indicates usage scenarios ofcommunication between engines in accordance with an embodiment of thepresent invention. For example, an engine of a network carrier mayprovide cellular service to an engine of a third party service provider,and it does not consume any service from this engine. In more generalscenarios, two-way information flow may be allowed if appropriateinterfaces are defined.

A domain in the policy model of SELinux can be decomposed. In thisapproach, a generic engine e₁ can be represented as a domain, and it isdecomposed into three sub-domains: the trusted domain D₁₁ 522, thenormal domain D₁₃ 524, and the domain entrypoints D₁₂ 506. At the sametime, D₁₁ 522 and D₁₃ 524 act as the entities to communicate withexternal engines on trusted and normal services, respectively.Therefore, it is natural that each of these sub-domains can be furtherdecomposed into a few sub-domains, each of which handles differentcommunications between other internal and external domains. Note thatdomain e₀₁ 510 and e₀₂ 518 can belong to two distinct engines as well asthe same engine. In the most general scenario, an engine can consumeservices from and provide services to the same or different engines. Theactual details of possible domains and sub-domains and also theinteractions between them depend on the exact implementations of theavailable engines on a platform and the service level agreements betweendifferent engines.

In traditional PC and server systems, a single system securityadministrator or the root has the ultimate control of the platform, andexternal entities have to trust the administrator and the policiesdeployed. On a mobile platform, the problem is different since multipleentities or stakeholders may be present.

Loadable policy modules supported by SELinux offer a flexible way tocreate self-contained policy modules that are linked to the existingpolicy without recompiling the entire policy source each time. A policymodule can define private types and attributes and then defineinterfaces so that other modules can use them, thus enablingcommunication between the subjects whose types are defined in differentmodules. After a module is created, it can be loaded to the kernelduring runtime using SELinux policy management infrastructure. Thus,capabilities to change and load policy modules can be defined andassigned to different administrative roles of different domains.Additionally, each domain has its own policy module where its internalresources can be defined with private types and only shared resourcescan be accessed through module interfaces by other policy writers (e.g.,the administrative roles of other engines). This provides modularity andencapsulation for policy development and management, and self-protectionfor the security system.

SELinux architecture can include a Linux Security Module (LSM) 700,which defines the placement of hook functions that are inserted into theLinux kernel. As a result, whenever a system call function is invoked bya process to access some resources (e.g., read/write a file or open anetwork connection), the corresponding SELinux LSM hooks can be invoked.These functions can check the SELinux LSM Module which in turn cancommunicate with an access monitoring system (e.g., trusted accessmonitoring system 302 shown in FIG. 3) to make access decisions basedupon loaded SELinux policies. The kernel can then effectively enforcethe access decision to allow or deny an access operation.

Each resource in SELinux may be labeled with a single type. Similarly,each process may be labeled with a single domain, which may also bereferred to as a SELinux “type.” An access control decision may bedetermined by a policy, which includes a set of rules. Typically, aSELinux policy rule indicates that any process of a particular domainhas a set of permissions to any resource of a particular type.

For example, the following rule states that any process of domain:

 medical_t (e.g., /medical/exec) can do any operation to any file oftype medicalObject_t (e.g., any file in /medical/exec).  ... ... /medical/exec -- medical_u : medical_r : medical_t  /medical/db(/.*)?medicalObject_u: medicalObject_r:  medicalObject_t;  ... ...  typemedical_t;  type medicalObject_t;  role medical_r types medical_t;  rolemedicalObject_r types medicalObject_t;  user medical_u roles{medical_r};  user medicalObject_u roles {medicalObject_r);  allowmedical_t medicalObject_t : file *;

Without any other rules indicating access to medicalObject_tfiles, thisrule implies that only processes with domain medical_t can accessmedicalObject_t files, thus preventing any access from processes ofother domains.

The domain of a process can be determined by the user who runs theprogram, or by the location (path) of the program file. Moreover, thiscan be defined by policy rules. Similarly, rules can be defined toconfine the communication between processes from different domains,including executing/killing a process, sending messages to a process,and sharing resources (file, memory, or socket) between processes.

Integrity measurement and verification may also be integrated into aLinux-based system provided in accordance with the invention. Forexample, a series of services, including policy transformation,integrity verification, and sensor can run in user space. In the kernelspace, a SELinux filesystem may provide interfaces to allow user spaceservices to set values for conditional policies. When a policy istransformed, a set of files may be created in the filesystem. Theintegrity verification service may act to enforce usage control policiesusing input from an integrity measurement service that measures otherruntime components. Measured events and integrity values may be storedin a measurement list and corresponding platform configuration registersin a trusted platform module may be extended accordingly.

An integrity measurement service may perform many different actions inmonitoring the integrity of the policies. Specifically, a referencemonitor may be measured after the kernel is booted. The clientapplication, object, and configuration may be measured right before theclient application is invoked. The integrity of individual policies, thepolicy transformation service, and the sensor may be measured when theyare invoked and just before their execution. Mandatory Access Control(MAC) policies may be measured when they are loaded such as when theplatform boots or if they are loaded at runtime. Additionally, any otherapplications or services that need to communicate or collaborate withthe client application may be measured before they are invoked. Thisallows the integrity management service to monitor all otherapplications that interact with the sensitive client applicationsrunning on the same platform.

In order to enforce the policies, the integrity verification service mayverify corresponding integrity values measured by the integritymeasurement service and generate inputs to the reference monitor. As anexample, a client application may only be allowed to access a targetobject when its “current” integrity corresponds to a known value. When auser logs in or attempts to access the object by invoking the clientapplication, the user attributes may be checked by the reference monitorbased upon the authentication of the user to the system (e.g., rile andnecessary credentials of the user). When the client application isinvoked by the user, it may be measured by the integrity measurementservice prior to being loaded into memory. During runtime, if the clientapplication generates an access request to the object, the integritymeasurement service may measure the current integrity of the clientapplication and pass that information to the integrity verificationservice. The integrity verification service may check the measured valueagainst the known value and if they match, the client application canaccess the object. If not, then the client application cannot access theobject. The decision as to whether the client application can or cannotaccess the object may then be passed to the reference monitor. Thesensor service may monitor environmental information of the computingdevice (e.g., location) and provide these also to the reference monitorfor policy evaluation when an access occurs on the platform with regardto the policies. Whenever there is a change of any information specifiedin the policies, the new information may be reported by the sensorservice thus invoking the re-evaluation of the ongoing access.

The various aspects, features, embodiments or implementations of theinvention described above can be used alone or in various combinations.The many features and advantages of the present invention are apparentfrom the written description and, thus, it is intended by the appendedclaims to cover all such features and advantages of the invention.Further, since numerous modifications and changes will readily occur tothose skilled in the art, the invention should not be limited to theexact construction and operation as illustrated and described. Hence,all suitable modifications and equivalents may be resorted to as fallingwithin the scope of the invention.

What is claimed is:
 1. A mobile device having a limited number ofconcurrently running processes, the mobile device including a trustedaccess monitoring system in a secure and trusted operation environmenthaving Mandatory Access Control (MAC) capabilities for controllingaccess to one or more accessible components of a computing environmentwith the mobile device, wherein said access monitoring system isoperable to: determine one or more accessible components of said mobiledevice that a first component may attempt to access, wherein said firstcomponent may attempt to access said one or more accessible componentswhen said first component is operational on the mobile device;pre-process at least likely access permissions for the mobile device,including obtaining one or more access permissions based on a level oftrust for said one or more accessible components, wherein said one ormore access permissions effectively indicate whether said firstcomponent is allowed or not allowed to access said one or moreaccessible components; and store said one or more access permissions aspre-processed first one or more stored access permissions in a secureenvironment in kernel space of the mobile device in a manner that saidfirst one or more access stored access permissions can be obtained ifsaid first component attempts to access said one or more accessiblecomponents, thereby allowing access to said one or more accessiblecomponents to be controlled based on said stored access permissions. 2.The access monitoring system of claim 1, wherein pre-processing ofaccess permissions includes: said determining of said one or moreaccessible components is performed when said first component is notfully operational on said mobile device, and aid obtaining of one ormore access permissions comprises: determining said one or more accesspermissions when said first component is not fully operational foraccessing said one or more accessible components, thereby allowing oneor more access permissions for said first component to be pre-processedand alleviating the need to determine said one or more accesspermissions if said first component becomes fully operational andattempts to access said one or more accessible components of said mobiledevice.
 3. The access monitoring system of claim 1, wherein said one ormore accessible components are components of said mobile device.
 4. Theaccess monitoring system of claim 1, wherein said access monitoringsystem operates on said mobile device.
 5. The access monitoring system1, wherein said one or more accessible components include one or moreobjects of a computing environment operating on said mobile device,wherein said first component include a first subject of said computingenvironment operating on said mobile device, and wherein said accessmonitoring system operates as a reference monitoring system todetermine, based on said stored first one or more access permissionswhether said first subject is allowed or not allowed to access said oneor more objects.
 6. The access monitoring system of claim 5, whereinsaid one or more objects of said computing environment include one ormore of the following: one or more resources, one or more sharedresources; one or more files, sockets, interfaces, and/or networkconnections, one or more Inter-Process Communication (IPC) objects,message objects passing, synchronization objects, shared memory objects,and remote procedure calls (RPC) objects, and wherein said one or moresubjects of said computing environment include one or more of thefollowing: one or more: executable components, processes, threads,applications, client applications, user applications, services, domains,and/or engines.
 7. The access monitoring system of claim 1, wherein saidobtaining of said one or more access permissions obtains said accesspermissions prior to said first device attempting to access said one ormore accessible components.
 8. The access monitoring system of claim 1,wherein said obtaining of said one or more access permissions comprisesdetermining said one or more access permissions.
 9. The accessmonitoring system of claim 1, wherein said one or more accessiblecomponents are one or more components of said mobile device, whereinsaid determining of said one or more accessible components comprises oneor more of the following: determining said one or more accessiblecomponents when said mobile device is started; determining said one ormore accessible components when said first component is initiated,loaded, launched and/or started on said mobile device; wherein saidobtaining of said one or more access permissions comprises one or moreof the following: determining said access permissions when said mobiledevice is started; and determining said access permissions when saidfirst component is initiated, loaded, launched and/or started on saidmobile device.
 10. The access monitoring system of claim 8, wherein saiddetermining of said one or more access permissions determines allpossible accessible components that said first component may access. 11.The access monitoring system of claim 1, wherein said determining ofsaid one or more access permissions comprises: determining one or moreaccessible components that said first component is likely to access asone or more potential accessible components.
 12. The access monitoringsystem of claim 11, wherein said determining of said one or moreaccessible components which are likely to be accessed by said firstcomponent comprises one or more of the following: selecting one or moreaccessible components that said first component has accessed and/or hasattempted to access; obtaining a first profile for said first component,wherein said first profile effectively indicates that said firstcomponent is likely to access said one or more potential accessiblecomponents; and obtaining a second profile for a person associated withsaid component, wherein said second profile effectively indicates thatsaid first component is likely to access said one or more potentialaccessible components; and selecting one or more accessible componentsthat said first component may access based on contextual informationeffectively representing a situation in which said one or moreaccessible components may be accessed.
 13. The access monitoring systemof claim 11, wherein said access monitoring system is further operableto define and/or update said one or more potential accessible componentswhich are likely to be accessed by said first component based onobserved behavior, preferences, and/or habits of a person whoeffectively uses said first component.
 14. The access monitoring systemof claim 1, wherein said access monitoring system is verified beforeallowing it to be initiated on said mobile device.
 15. The accessmonitoring system of claim 1, wherein said obtaining of said one or moreaccess permissions comprises: verifying safety of said first component,and determining said one or more access permissions based on saidverification of safety of said first component.
 16. The accessmonitoring system of claim 1, wherein said obtaining of said one or moreaccess permissions further comprises: verifying safety of said one ormore accessible components, and determining said one or more accesspermissions based on said verification of safety of said one or moreaccessible components.
 17. The access monitoring system of claim 16,wherein said verifying of safety of said first component comprises oneor more of the following: verifying integrity of computer program codefor said first component; and verifying integrity of computer programcode for said one or more accessible components.
 18. The accessmonitoring system of claim 15, wherein said access monitoring system iseffectively provided for and/or by said first device, and wherein saidmobile device is operable to effectively initiate a trusted platformmodule which is operable to: verify safety of said access monitoringsystem before allowing it to be initiated on said device, and initiateand/or allow initiation of said access monitoring system only when saidverifying verifies safety of said access monitoring system.
 19. Theaccess monitoring system of claim 16, wherein said trusted platformmodule comprises one or more of the following: a Mobile Trusted platformModule (MTM), a Trusted Platform Module (TPM) provided as a Core Root ofTrust Measurement (CRTM), and a Mobile Trusted platform Module (MTM)provided as a Core Root of Trust Measurement (CRTM).
 20. The accessmonitoring system of claim 1, wherein said obtaining of said one or moreaccess permissions comprises: verifying safety of said first component,and determining said one or more access permissions based on saidverification of safety of said first component; and wherein saiddetermining of said one or more access permissions determines saidaccess permissions based on a number of possible access types which isless than the number of possible access types available in server-basedcomputing environments, thereby requiring less computations fordetermining all possible more access permissions than would be requiredin desk-top and server based computing environments.
 21. The accessmonitoring system of claim 1, wherein said obtaining of said one or moreaccess permissions comprises: verifying safety of said first component,and determining said one or more access permissions based on saidverification of safety of said first component; and wherein said numberof possible access types is determined based on a number of domainsincluding: a manufacturer domain type, a network provider domain type, aservice provider domain type, and a user domain type.
 22. The accessmonitoring system of claim 1, wherein said obtaining of said one or moreaccess permissions comprises: verifying safety of said first component,and determining said one or more access permissions based on saidverification of safety of said first component; and wherein saiddetermining of said one or more access permissions determines saidaccess permissions based on access permissions assigned for a securitycontext according to one or more following: assigning a user to a type(user:type), and assigning: a user to a role and said role to a type(user:role:type).
 23. The trusted access monitoring system of claim 1,wherein said access monitoring system is effectively provided for and/orby said first device, and wherein said first device is operable toeffectively initiate a first safety component which is operable to:verify safety of said access monitoring system before allowing it to beinitiated on said mobile device, and initiate and/or allow initiation ofsaid access monitoring system only when said verifying verifies safetyof said access monitoring system; wherein said access monitoring systemis further operable to: determine a plurality of components that may beused on said mobile device, wherein said plurality of components includefirst and second components; determine one or more accessible componentsthat each of said plurality of components may attempt to accessrespectively; pre-determine a set of access permissions for saidplurality of components, wherein said set of access permissionseffectively indicates whether said first and second components areallowed or not allowed to access their respective one or more accessiblecomponents; and securely store said set of one or more accesspermissions, thereby allowing access to said one or more accessiblecomponents to be controlled based on access permissions that have beenalready determined for said plurality of components.
 24. The accessmonitoring system of claim 1, wherein said access monitoring system isfurther operable to: obtain at least one of said first one or morestored access permissions when said first component attempts to accessat least one of said one or more accessible components; and determinebased on said at least one stored access permission whether to allowsaid first component to access said at least one accessible component.25. The access monitoring system of claim 1, wherein said accessmonitoring system is further operable to effectively detect and/or benotified that said first component is attempting to access said one ormore accessible components.
 26. The access monitoring system of claim23, wherein said determining of said plurality of components that may beused on said mobile device comprises: determining a plurality ofcomponents that are likely to be used on said mobile device based on oneor more of the following: selecting a plurality of components that havepreviously used on said mobile device; obtaining a first profile whicheffectively indicates that said plurality of components are likely to beused on said mobile device; obtaining a user profile for a person usingsaid device, wherein said user profile effectively indicates that saidplurality of components are likely to be used on said mobile device; andselecting said plurality of components based on contextual informationeffectively representing a situation.
 27. A method for protectingaccessible resources of a mobile device having a limited number ofconcurrently running processes, wherein said method comprises:determining, using a trusted platform module, whether an accessmonitoring component is safe before allowing said access monitoringcomponent to be initiated on said mobile device, wherein saiddetermining of whether said access monitoring component is safecomprises: verifying integrity of computer program code for said accessmonitoring component to effectively verify it as a trusted component;and initiating said access monitoring component as a trusted accessmonitoring component only when said verifying verifies said integrity ofsaid computer program code for said access monitoring component whereinsaid trusted access monitoring component is operable to protectaccessible resources of said device by effectively allowing access tosaid accessible resources to be granted or denied; identify one or moreexecutable components that may be executed on said mobile device;identify one or more accessible resources that said one or moreexecutable components may respectively try to access; determine whethersaid one or more executable components and/or accessible resources aresafe to effectively assess their safety; pre-process based on saidassessed safety of said one or more executable components and/oraccessible resources, one or more access permissions that effectivelyindicate whether said one or more executable components are allowed ornot allowed to access said one or more accessible resources; and storesaid one access permissions in kernel space for use by said trustedaccess monitoring component.
 28. The method of claim 27, wherein saidmethod further comprises: verifying integrity of computer program codefor said one or more executable components and/or accessible resourcesto effectively verify them as trusted components.
 29. The method ofclaim 27, wherein said determining of whether said one or moreexecutable components and/or accessible resources are safe comprises oneor more of the following: obtaining a safety level for said one or moreexecutable components and/or accessible resources, wherein said safetylevel includes at least a safe level and an unsafe level; determining,verifying, and/or assigning said safety level for said one or moreexecutable components and/or accessible resources; and obtaining atrustworthiness level for said one or more executable components and/oraccessible resources, wherein said trustworthiness level includes atleast a trusted level and an untrusted level.
 30. The method of claim29, wherein said identifying of one or more executable components thatmay be executed on said mobile device comprises one or more of thefollowing: identifying all the executable components that can beexecuted on said mobile device; identifying one or more executablecomponents that have executed on said mobile device; obtaining a firstprofile which effectively indicates that said one or more executablecomponents are likely to be used on said mobile device; obtaining a userprofile for a person using said device, wherein said second profileeffectively indicates that said one or more executable components arelikely to be used on said mobile device; and identifying said one ormore executable components based on contextual information effectivelyrepresenting a situation in which said mobile device can be used. 31.The method of claim 29, wherein said identify of one or more accessibleresources that said one or more executable components may respectivelytry to access comprises one or more of the following: identifying all ofthe accessible resources available on said mobile device; identifyingall of the accessible resources that said one or more executablecomponents may attempt to access on said mobile device; identifying oneor more accessible components that said one or more executablecomponents have accessed and/or have attempted to access on said mobiledevice; obtaining one or more profiles for said one or more executablecomponents, wherein said one or more profiles effectively indicate thatsaid one or more executable components are likely to access and/orattempt to access said one or more accessible resources; and identifyingsaid one or more accessible components based on contextual informationeffectively representing a situation in which said one or moreaccessible components may be accessed.
 32. A method for providing accessto accessible resources of a mobile device having a limited number ofconcurrently running processes, said method comprising: identifying oneor more applications that may be executed on said mobile device;indentifying one or more accessible resources of said device that saidone or more applications may attempt to access when executing on saidmobile device pre-processing based on one or more trust levels of one ormore applications and/or accessible resources, one or more accesspermissions that effectively indicate whether said one or moreapplications are allowed or not allowed to access said one or moreaccessible resources of said mobile device; and storing said one or morepre-determined access permissions as one or more stored accesspermissions in a secure storage in kernel space that is not accessibleto said one or more applications but accessible to a trusted referencemonitor operable to effectively allow or deny access to said one or moreapplications based on said one or more pre-determined accesspermissions, thereby allowing said trusted reference monitor to controlaccess to accessible resources of said device based on said one or morestored access permissions.
 33. The method of claim 32, wherein saidmethod further comprises: initiating a Trusted Platform Module (TPM) forsaid device; verifying integrity of computer program code for areference monitoring component before allowing it to be executed on saidmobile device; initiating a reference monitoring component as saidtrusted reference monitoring component only when said verifying verifiessaid integrity of computer program code for said reference monitoringcomponent; determining by said trusted reference monitor that at leastone of said one or applications is requesting and/or attempting toaccess at least one of said one or accessible resources; and determiningby said trusted reference monitor based on at least one of said storedaccess permissions whether to allow or deny said at least oneapplication access to said at least one accessible resource.
 34. Themethod of claim 33, wherein said trusted reference monitor operates in akernel space of an operating system that is SELinux compliant; andwherein said trusted reference monitor is operable to be effectivelynotified by one or more system monitoring components of said operatingsystem that said at least one application program is requesting and/orattempting to access said at least one accessible resource via aMandatory Access Control (MAC) mechanism which is also SELinuxcompliant.
 35. The method of claim 34, wherein said one or more systemmonitoring components include one or more hooks provided for one or moreoperating system calls of said operating system.
 36. A method forcontrolling access to one or more accessible components of a computingenvironment in a mobile device having a limited number of concurrentlyrunning processes, wherein said method comprises: determining one ormore accessible components that a first component may attempt to access,wherein said first component may attempt to access said one or moreaccessible components when said first component is operational on at themobile device; pre-processing one or more access permissions for saidone or more accessible components, wherein said one or more accesspermissions effectively indicate whether said first component is allowedor not allowed to access said one or more accessible components; andsecurely storing said one or more access permissions in kernel space asfirst one or more pre-determined stored access permissions in a mannerthat said first one or more access stored permissions can be obtained ifsaid first component attempts to access said one or more accessiblecomponents, thereby allowing access to said one or more accessiblecomponents to be controlled based on said stored one or more accesspermissions.
 37. A non-transitory computer readable medium includingcomputer program code for controlling access to one or more componentsaccessible components of a mobile device computing environment having alimited number of concurrently running processes, wherein said computerprogram code includes: computer program code for determining one or moreaccessible components of said computing environment that a firstcomponent may attempt to access, wherein said first component mayattempt to access said one or more accessible components when said firstcomponent is operational on at least a first device; computer programcode for preprocessing one or more access permissions for said one ormore accessible components, wherein said one or more access permissionseffectively indicate whether said first component is allowed or notallowed to access said one or more accessible components; and computerprogram code for storing said one or more access permissions in kernelspace as first one or more stored access permissions in a manner thatsaid first one or more access stored permissions can be obtained if saidfirst component attempts to access said one or more accessiblecomponents, thereby allowing access to said one or more accessiblecomponents to be controlled based on said stored one or more accesspermissions.
 38. A mobile device having a limited number of concurrentlyrunning processes, the mobile device having a secure and trustedoperation computing environment including Mandatory Access Control (MAC)capabilities, the mobile device comprising: an access monitoring systemand an access storage, wherein said access monitoring system is operableto: determine one or more accessible components of said computing systemthat a first component may attempt to access; pre-process one or moreaccess permissions for said one or more accessible components, whereinsaid one or more access permissions have levels of trust thateffectively indicate whether said first component is allowed or notallowed to access said one or more accessible components; and securelystore said one or more access permissions in said access storage inkernel space as first one or more pre-determined stored accesspermissions in a manner that said first one or more access stored accesspermissions can be obtained if said first component attempts to accesssaid one or more accessible components.
 39. The mobile device of claim38, wherein access monitoring system is operable to: retrieve said oneor more access permissions from said access storage when said firstcomponent attempts to access said one or more accessible components;effectively indicate, based on said one or more access permissions,whether to grant or deny said first component access to said one or moreaccessible components.
 40. The mobile device of claim 39, wherein saidcomputing system is provided for a mobile and/or embedded device. 41.The mobile device of claim 39, wherein said computing system is providedfor a mobile phone and/or Smartphone.